package com.iot.service;

import com.iot.pojo.MTapp;
import com.iot.pojo.MTdevice;

import java.util.List;
import java.util.Map;

public interface TdeviceService extends  BaseService<MTdevice> {
    public List<Map<String,Object>> fetchByPage(Map<String, Object> map) throws Exception;

    public List<Map<String,Object>> getDeviceById(Map<String, Object> map);

    public  Map<String ,Object> initList();
//    public  Map<String ,Object> initCityById(Map<String,Object> map);
//    public  Map<String ,Object> initAreaById(Map<String,Object> map);
//    public  Map<String ,Object> initRegionById(Map<String,Object> map);
//    public  Map<String ,Object> initSiteById(Map<String,Object> map);
//    public  Map<String ,Object> initListneById(Map<String,Object> map);
    public  Map<String ,Object> initDeviceScaleById(Map<String, Object> map);
    public  Map<String ,Object> initEdit(int appId);
    public List<Map<String,Object>> getAllDevice(Map<String, Object> map);
    MTapp getTapp(int appId);
    public Map<String,Object> getAllDevice1(Map<String, Object> map);

    public int Save(Map<String, Object> map) throws Exception;

    public  List<Map<String,Object>> getDeviceImages(Map<String, Object> map);


    public List<Map<String,Object>> getDeviceSensor(int deviceId);


}
